IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[SelectAllLinea]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[SelectAllLinea]
GO

CREATE PROCEDURE [dbo].[SelectAllLinea]

AS
BEGIN
	SET NOCOUNT ON

	SELECT
	[IdLinea],
	[Nombre],
	[Descripcion],
	[Imagen]
	FROM [Linea]

	SET NOCOUNT OFF
END

GO
